package de.greenrobot.daoexample.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by squall on 2015/8/17.
 */
public class Recommend implements Serializable {

    private String about;

    private String type;

    private InnerData data;

    public class InnerData implements Serializable {

        private String avatar;
        private Groip group;
        private List<TopicItem> group_post;
        private String uname;
        private String type;
        private String followstate;
        private String content;
        private int pic_num;
        private int reply_num;
        private VideoInfo video_info=new VideoInfo();
        private String title;
        private String img_src;
        private String ding_num;
        private String uimg;
        private List<Multi> multi = new ArrayList<Multi>();
        private String plain;
        private String name;
        private String gid;
        private String rp_id;
        private String uid;
        private String cp_id;
        private String dp_id;
        private String wp_id;
        private String post_id;
        private String otype_data;
        private String otype;
        private String ud_id;
        private String cover;
        private String basic_price;
        private String zp_id;
        private String zg_id;
        private Circle circle;
        private String summary;
        private boolean have_ding;
        private boolean have_tuijian;

        private List<CirclePost> circle_post;

        public boolean isHave_ding() {
            return have_ding;
        }

        public void setHave_ding(boolean have_ding) {
            this.have_ding = have_ding;
        }

        public boolean isHave_tuijian() {
            return have_tuijian;
        }

        public void setHave_tuijian(boolean have_tuijian) {
            this.have_tuijian = have_tuijian;
        }

        public Circle getCircle() {
            return circle;
        }

        public void setCircle(Circle circle) {
            this.circle = circle;
        }

        public List<CirclePost> getCircle_post() {
            return circle_post;
        }

        public void setCircle_post(List<CirclePost> circle_post) {
            this.circle_post = circle_post;
        }

        private List<Post_data> post_data = new ArrayList<Post_data>();

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getPost_id() {
            return post_id;
        }

        public void setPost_id(String post_id) {
            this.post_id = post_id;
        }


        public Groip getGroup() {
            return group;
        }

        public List<TopicItem> getGroup_post() {
            return group_post;
        }

        public String getUname() {
            return uname;
        }

        public String getType() {
            return type;
        }

        public String getFollowstate() {
            return followstate;
        }

        public String getContent() {
            return content;
        }

        public int getPic_num() {
            return pic_num;
        }

        public int getReply_num() {
            return reply_num;
        }

        public String getTitle() {
            return title;
        }

        public String getImg_src() {
            return img_src;
        }

        public String getDing_num() {
            return ding_num;
        }

        public String getUimg() {
            return uimg;
        }

        public List<Multi> getMulti() {
            return multi;
        }

        public String getPlain() {
            return plain;
        }

        public String getName() {
            return name;
        }

        public String getGid() {
            return gid;
        }

        public String getRp_id() {
            return rp_id;
        }

        public String getUid() {
            return uid;
        }

        public String getCp_id() {
            return cp_id;
        }

        public String getDp_id() {
            return dp_id;
        }

        public String getWp_id() {
            return wp_id;
        }

        public List<Post_data> getPost_data() {
            return post_data;
        }

        public void setGroup(Groip group) {
            this.group = group;
        }

        public void setGroup_post(List<TopicItem> group_post) {
            this.group_post = group_post;
        }

        public void setUname(String uname) {
            this.uname = uname;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setFollowstate(String followstate) {
            this.followstate = followstate;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setPic_num(int pic_num) {
            this.pic_num = pic_num;
        }

        public void setReply_num(int reply_num) {
            this.reply_num = reply_num;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setImg_src(String img_src) {
            this.img_src = img_src;
        }

        public void setDing_num(String ding_num) {
            this.ding_num = ding_num;
        }

        public void setUimg(String uimg) {
            this.uimg = uimg;
        }

        public void setMulti(List<Multi> multi) {
            this.multi = multi;
        }

        public void setPlain(String plain) {
            this.plain = plain;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setGid(String gid) {
            this.gid = gid;
        }

        public void setRp_id(String rp_id) {
            this.rp_id = rp_id;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public void setCp_id(String cp_id) {
            this.cp_id = cp_id;
        }

        public void setDp_id(String dp_id) {
            this.dp_id = dp_id;
        }

        public void setWp_id(String wp_id) {
            this.wp_id = wp_id;
        }

        public String getUd_id() {
            return ud_id;
        }

        public void setUd_id(String ud_id) {
            this.ud_id = ud_id;
        }

        public void setPost_data(List<Post_data> post_data) {
            this.post_data = post_data;
        }

        public String getOtype_data() {
            return otype_data;
        }

        public String getOtype() {
            return otype;
        }

        public void setOtype_data(String otype_data) {
            this.otype_data = otype_data;
        }

        public void setOtype(String otype) {
            this.otype = otype;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getBasic_price() {
            return basic_price;
        }

        public void setBasic_price(String basic_price) {
            this.basic_price = basic_price;
        }

        public String getZp_id() {
            return zp_id;
        }

        public void setZp_id(String zp_id) {
            this.zp_id = zp_id;
        }

        public String getZg_id() {
            return zg_id;
        }

        public void setZg_id(String zg_id) {
            this.zg_id = zg_id;
        }

        public String getSummary() {
            return summary;
        }

        public void setSummary(String summary) {
            this.summary = summary;
        }

        public VideoInfo getVideo_info() {
            return video_info;
        }

        public void setVideo_info(VideoInfo video_info) {
            this.video_info = video_info;
        }

        public class Post_data implements Serializable {
            private String img_src;
            private String title;
            private String content;


            public String getTitle() {
                return title;
            }

            public String getContent() {
                return content;
            }


            public void setTitle(String title) {
                this.title = title;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getImg_src() {
                return img_src;
            }

            public void setImg_src(String img_src) {
                this.img_src = img_src;
            }

            public Post_data(String img_src, String title, String content) {
                this.img_src = img_src;
                this.title = title;
                this.content = content;
            }

            public Post_data() {
            }
        }

        @Override
        public String toString() {
            return "InnerData{" +
                    "groip=" + group +
                    ", group_post=" + group_post +
                    ", uname='" + uname + '\'' +
                    ", type='" + type + '\'' +
                    ", followstate='" + followstate + '\'' +
                    ", content='" + content + '\'' +
                    ", pic_num=" + pic_num +
                    ", reply_num=" + reply_num +
                    ", title='" + title + '\'' +
                    ", img_src='" + img_src + '\'' +
                    ", ding_num='" + ding_num + '\'' +
                    ", uimg='" + uimg + '\'' +
                    ", multi=" + multi +
                    ", plain='" + plain + '\'' +
                    ", name='" + name + '\'' +
                    ", post_data=" + post_data +
                    '}';
        }
    }


    public Recommend(String about, String type, InnerData data) {
        this.about = about;
        this.type = type;
        this.data = data;
    }

    public String getAbout() {
        return about;
    }

    public String getType() {
        return type;
    }

    public InnerData getData() {
        return data;
    }

    public void setAbout(String about) {
        this.about = about;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setData(InnerData data) {
        this.data = data;
    }

    public Recommend() {
    }

    @Override
    public String toString() {
        return "Recommend{" +
                "about='" + about + '\'' +
                ", type='" + type + '\'' +
                ", data=" + data +
                '}';
    }
}
